package cn.y.operation.framework.enums;

/**
 * @ClassName: UserLoginTypeEnum
 * @author: 叶子豪
 * @create: 2021-02-25 16:01
 */
public enum UserLoginTypeEnum {
    USERNAME(0, "loginName"),
    MOBILE(1, "mobile"),
    EMAIL(2, "email"),

    ;
    private final Integer code;
    private final String info;

    UserLoginTypeEnum(Integer code, String info) {
        this.code = code;
        this.info = info;
    }

    public Integer getCode() {
        return this.code;
    }

    public String getInfo() {
        return this.info;
    }
}
